<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>健康打卡系统</title>
    <link rel="stylesheet" type="text/css" href="/css/login.css">
</head>
<body>
    <div class="content">
        <div class="logCon">
            <font color="#dc143c"><p th:text="${userExists}"></p></font>
            <form modelattribute="person" action="/admin/addAdmin" method="post">
                <p>输入管理员信息</p>
                <div class="line"><span>姓名:</span>
                    <input class="bt_input" type="text" name="name" th:value="${name}" required="">
                </div>
                <div class="line"><span>账号:</span>
                    <input class="bt_input" type="text" name="personId" th:value="${personId}" required="">
                </div>
                <div class="line"><span>密码:</span>
                    <input class="bt_input" type="text" name="password" th:value="${password}" required="">
                </div>
                <input hidden="hidden" type="text" name="flag" value="1"/>
                <button class="logingBut" type="submit">提交</button>
            </form>
            <form action="/admin/personList" method="post">
                <button type="submit" class="logingBut">取消</button>
            </form>
        </div>
    </div>
</body>
</html>